import request from "../utils/request"

/**
 * 日志请求API
 */

// 登录日志记录
export const loadLoginLogData = (data,page,pageSize) => {
    return request({
        method: 'POST',
        url: '/queryLoginLogByCondition',
        params: {
            page: page,
            pageSize: pageSize
        },
        data: data
    })
}

// 操作日志记录
export const loadSystemLogData = (data,page,pageSize) => {
    return request({
        method: 'POST',
        url: '/querySystemLogByCondition',
        params: {
            page: page,
            pageSize: pageSize
        },
        data: data
    })
}


